package Adapter;

import java.util.ArrayList;
import java.util.List;
import DomainPackage.*;
import Sistem.*;
public class KargoBiletAdapter {

	public static List<KargoBilet> getAllKargoBilet(){
        List<Object> objectList = Register.getAll(KargoBilet.class);
        //as all getAll functions, we have to cast to according class
        List<KargoBilet> kargobiletList = new ArrayList<KargoBilet>();
        for(Object temp:objectList){
                kargobiletList.add((KargoBilet)temp);
        }
        return kargobiletList;
	}
}
